home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #1 / Amiga Plus 1999 #1.iso / System-Boost / Workbench / LFSystemBinder / Examples / PrintCurSyst.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1998-06-21  |  759 b   |  31 lines

  1. /*  PrintCurSyst.rexx
  2.  *          © LFSoft 1995-96
  3.  *
  4.  *  Print to RAM:actu current setting of your system.
  5.  *  An example to use LFSystemBinder 2.0 AREXX commands...
  6.  *
  7.  *  LFSystemBinder must run with its default Arexx port "LFSystemBinder.rdv"
  8.  *
  9.  *  26-07-1996: With LFSystemBinder 2.0, Variables are also grabbed.
  10.  *              Starting script with a "NEW" command.
  11.  */
  12.  
  13.  address "LFSystemBinder.rdv"
  14.  
  15.  NEW
  16.  
  17.  GRAB ASSIGN '*'
  18.  GRAB PATH
  19.  GRAB RESIDENT
  20. /* Grab all top level variables but icons (.info) and preferences as they can
  21.  * contain IFF datas (binaries).
  22.  * Note: LFSystemBinder may complain about troncated variables.
  23.  */
  24.  GRAB VAR '~(#?.info|#?.prefs)'
  25.  
  26.  SORT ASSIGN
  27.  SORT RESIDENT
  28.  SORT VAR
  29.  
  30.  'PRINT "RAM:Actu" "Actual values of your Amiga"'
  31.